package com.itkjb.leisurely.center.sys.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itkjb.leisurely.center.sys.model.SysMenuModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统菜单资源目录 Mapper 接口
 * </p>
 *
 * @author itkjb_gen
 * @since 2020-05-27
 */
public interface SysMenuMapper extends BaseMapper<SysMenuModel> {
    /**
     * 根据角色id，查询菜单权限code
     * @param roleIds
     * @return
     */
    List<SysMenuModel> findMenuPermissionByRoleId(@Param("roleIds") List<String> roleIds);
}
